package main

import (
	"fmt"
	"github.com/beego/beego/v2/server/web"
	_ "web-beego.com/v1/routers"
	_ "web-beego.com/v1/sysinit"
)

func main() {
	web.AddAPPStartHook(start)
	web.Run()
}

func start() error {
	fmt.Println("beego learn start ...")
	return nil
}
